﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace H.Logs
{
    /// <summary>
    /// 日志接收器
    /// </summary>
    public interface ILogListener : IDisposable
    {
        /// <summary>
        /// 当有日志写入时,LogCollector将会调用此函数输出日志内容
        /// </summary>
        /// <param name="str"></param>
        void Write(string str);

    }
}
